package com.hulman.iot.pef.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PerfController
{
    @GetMapping("test")
    public String test(Long t)
    {
        if (t != null)
        {
            try
            {
                Thread.sleep(t);
            } catch (InterruptedException e)
            {
                e.printStackTrace();
            }
        }
        return "hello";
    }
}
